<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('省')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province"
                   data-rule="required"
                   class=" form-control selectpage"
                   data-source="district/getChildCity"
                   data-field="name"
                   data-params='{"custom[pid]":0}'
                   name="row[province]">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('市')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-city" data-rule="required"
                   data-source="district/getChildCity"
                   data-field="name"
                   class="form-control selectpage" name="row[city]">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('地区')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-district"
                   data-source="district/getChildCity"
                   data-field="name"
                   data-multiple="true"
                   class="form-control selectpage" name="row[district]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
